package gui;

import javax.swing.JFrame;
import javax.swing.JScrollPane;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.CardLayout;
import javax.swing.ImageIcon;

public class Window {

	public JFrame frame;


	/**
	 * Create the application.
	 */
	public Window() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 300);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(new CardLayout(0, 0));
		
		JPanel panel = new JPanel();
		frame.getContentPane().add(panel, BorderLayout.SOUTH);
		
		JScrollPane scrollPane = new JScrollPane(panel);
		
		JLabel lblNewLabel = new JLabel("kjijiodpjüijisdjücijdknkdddcjbJLBDJKLSABKJLBLSAJKDBlkjasblkjbsalkjBFADÖBFPUEwhgfpouhepofhpewknf");
		lblNewLabel.setIcon(new ImageIcon(Window.class.getResource("/resources/germany.png")));
		panel.add(lblNewLabel);
		frame.getContentPane().add(scrollPane, "name_1363267352385833000");
		
	}
}
